package com.woniu.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.woniu.dto.TaskDto;
import com.woniu.entity.Task;
import com.baomidou.mybatisplus.extension.service.IService;
import com.woniu.util.PageData;
import com.woniu.util.ResponseData;
import com.woniu.vo.TaskVo;

import javax.servlet.http.HttpServletResponse;
import java.io.IOException;
import java.io.UnsupportedEncodingException;
import java.util.Map;

/**
* @author Apricity
* @description 针对表【task(任务表)】的数据库操作Service
* @createDate 2025-02-13 20:16:59
*/
public interface TaskService extends IService<Task> {

    void addTask(TaskDto task);

    void updateTask(Map<String, Object> taskMap);

    Page pageTask(PageData pageData);

    TaskVo queryById(String taskNumber);

    ResponseData<?> toTaskExcel(HttpServletResponse response) throws IOException;
}
